<?php
class delAction extends rareAction{
	public function execute(){}
	public function executePost(){
		$id = $this->getPostParam('id',0);
		if($id==0||$id==1) jsonReturn(0,'参数错误');
		$dao = new DaoAdmin();
		$dao->del(" id='{$id}'");
		jsonReturn(1,'ok');
	}
}
?>
